home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / xprompt.1 < prev    next >
Text File  |  1995-07-25  |  7KB  |  156 lines

  1.  
  2.  
  3.  
  4.      XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))       NNNNoooonnnn----PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy XXXX ((((22229999 OOOOcccctttt 1111999999990000))))       XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           xprompt - Athena toolkit program to prompt for input in an X
  10.           window
  11.  
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           xxxxpppprrrroooommmmpppptttt [ ----ddddiiiissssppppllllaaaayyyy _d_s_p ] [ ----pppp_p_r_o_m_p_t_s_t_r_i_n_g [ ----rrrr_d_e_f_a_u_l_t_r_e_p_l_y ]
  15.           ] [ ----rrrrlllleeeennnn ] [ ----iiiibbbbwwww ] [ ----ggggrrrraaaabbbb////----nnnnooooggggrrrraaaabbbb ] [ ----ppppffffnnnn ] [ ----rrrrffffnnnn ] [
  16.           ----hhhhllll ]
  17.  
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.           xxxxpppprrrroooommmmpppptttt opens an X window and accepts single lines of input
  21.           from the user.
  22.  
  23.           Invoke xxxxpppprrrroooommmmpppptttt with as many -_ps as you have fields.  For
  24.           each -_p you may specify a -_r for a default reply.  The
  25.           default reply will be inserted into the reply field and the
  26.           user will be able to edit it with the normal Athena text-
  27.           widget keys.
  28.  
  29.           If no arguments are given, a default prompt of "?" is given
  30.           and the user will have a blank reply field.
  31.  
  32.           Pressing <Return> or ^M will advance the input focus
  33.           highlight to the next field.  <Return> and ^M will exit the
  34.           program normally if pressed in the last field.  Pressing ^N
  35.           or <Tab> will advance the highlight to the next field but
  36.           wrap back to the top if in the last field.  Pressing ^P or
  37.           <Shift><Tab> will take the input focus to the previous
  38.           field, wrapping to the bottom if the focus is in the first
  39.           field.
  40.  
  41.           Upon normal exit the program prints out what is in each of
  42.           the fields onto stdout.  Different fields are in order on
  43.           different lines.  If the user presses ^C at any time,
  44.           xprompt will exit and print nothing.
  45.  
  46.  
  47.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  48.           ----ddddiiiissssppppllllaaaayyyy  ddddppppyyyy::::nnnn....mmmm
  49.                The _d_i_s_p_l_a_y option sets the X11 display to prompt for
  50.                input on.
  51.  
  52.  
  53.           ----rrrrlllleeeennnn  rrrreeeeppppllllyyyylllleeeennnnggggtttthhhh
  54.                The _r_l_e_n option sets the reply length for all the
  55.                fields to _r_e_p_l_y_l_e_n_g_t_h characters.
  56.  
  57.  
  58.           ----iiiibbbbwwww  wwww
  59.                This sets the internal borderWidth for all the input
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 6/30/95)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))       NNNNoooonnnn----PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy XXXX ((((22229999 OOOOcccctttt 1111999999990000))))       XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))
  71.  
  72.  
  73.  
  74.                text-widgets.  It is retained because the original
  75.                xprompt had it (I think).
  76.  
  77.  
  78.           ----ggggrrrraaaabbbb
  79.  
  80.           ----nnnnooooggggrrrraaaabbbb
  81.                xprompt normally grabs the keyboard.  Other programs
  82.                will not be able to recieve keyboard input until the
  83.                user exits xprompt.  ----nnnnooooggggrrrraaaabbbb will allow other programs
  84.                to recieve keyboard input, but the user will then have
  85.                to focus keyboard input on xprompt like a normal
  86.                application to be able to type in it.
  87.  
  88.  
  89.           ----ppppffffnnnn  ffffoooonnnnttttssssppppeeeecccc
  90.                sets the font for the prompts.
  91.  
  92.  
  93.           ----rrrrffffnnnn  ffffoooonnnnttttssssppppeeeecccc
  94.                sets the font for the reply fields.
  95.  
  96.  
  97.           ----hhhhllll  ccccoooolllloooorrrr
  98.                sets the color for the highlight of the active field,
  99.                normally white.
  100.  
  101.  
  102.           ----pppp  pppprrrroooommmmpppptttt
  103.                specifies a prompt for a field.
  104.  
  105.  
  106.           ----rrrr  rrrreeeeppppllllyyyy
  107.                specifies a reply that will be inserted into the field
  108.                for the user to edit.
  109.  
  110.  
  111.      BBBBUUUUGGGGSSSS
  112.           The default does not look good on a monochromes screen.  Try
  113.  
  114.           xprompt -p what -p too -p do -xrm "*input.borderColor:white"
  115.           -hl black
  116.  
  117.  
  118.  
  119.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  120.           X(1), Xlib,Xt,Xaw Documentation.
  121.  
  122.      AAAAUUUUTTTTHHHHOOOORRRR
  123.            Michael Murphy          (mjm@cis.ufl.edu)
  124.             -and-
  125.            Robert Forsman          (thoth@cis.ufl.edu)
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 6/30/95)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))       NNNNoooonnnn----PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy XXXX ((((22229999 OOOOcccctttt 1111999999990000))))       XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))
  137.  
  138.  
  139.  
  140.            University of Florida
  141.            Department of Computer Science
  142.            and other places.
  143.  
  144.  
  145.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  146.           Copyright (c) 1990 by Michael Murphy and Robert Forsman.
  147.  
  148.           This program is free software; you can redistribute it
  149.           and/or modify it under the terms of the GNU General Public
  150.           License as published by the Free Software Foundation; either
  151.           version 1, or (at your option) any later version.
  152.  
  153.           This program is distributed in the hope that it will be
  154.           useful, but WITHOUT ANY WARRANTY; without even the implied
  155.           warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  156.           PURPOSE.  See